package com.itheima.log.service.impl;

import com.itheima.log.dao.LogMapper;
import com.itheima.log.domain.Log;
import com.itheima.log.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl implements LogService {

    @Autowired
    private LogMapper logMapper;

    public void save(Log log) {
        logMapper.save(log);
        // System.out.println(123);
    }
}
